import {
	Component
} from '@angular/core';

import {
	NavController
} from 'ionic-angular';

import {
	NativeStorage
} from '@ionic-native/native-storage';

import {
	annunciatePage
} from '../annunciate/annunciate';

@Component({
	selector: 'page-home',
	templateUrl: 'home.html'
})
export class HomePage {

	annunciatePage: any = annunciatePage;

	constructor(public navCtrl: NavController, public nativeStorage: NativeStorage) {
		
	}

//	this.nativeStorage.setItem('myitem', {
//			property: 'value',
//			anotherProperty: 'anotherValue'
//		})
//		.then(
//			() => console.log('Stored item!'),
//			error => console.error('Error storing item', error)
//		);
//
//	this.nativeStorage.getItem('myitem')
//		.then(
//			data => console.log(data),
//			error => console.error(error)
//		);

	/*goAnnunciatePage() {
	 	this.navCtrl.push(annunciatePage, {

		});
	}*/

}